package com.jason.kotlin.kotlin11

/**
 * 播放器
 * @Author: Jason
 * @Date: 2017/7/23
 * @Time: 21:48
 */

fun main(args: Array<String>) {
    val player: Player = Player()
    player.play("http://ws.stream.qqmusic.qq.com/c2000012Ppbd3hjGOK.m4a")
    player.pause()
    player.resume()
    player.seekTo(30000)
    player.stop()
}